package com.example.shoppingcenter.Config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(value="xf.config")
public class XFConfig {
    private String appId;
    private String apiSecret;
    private String apiKey;
    private String hostUrl;
    private Integer maxResponseTime;
    private String domain;
}
